// File:    KPI.cs
// Author:  Liqun
// Created: 2013年6月25日 11:22:26
// Purpose: Definition of Class KPI

using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;

namespace DataAccess.Models
{
	public sealed class KPI
	{
		[Key]
		public int KPIID
		{
			get;
			set;
		}
		[Required(ErrorMessage = "KPI内容不能为空")]
		public string KPIContent
		{
			get;
			set;
		}
		public DateTime? KPIAddTime
		{
			get;
			set;
		}
		public DateTime? KPIModifyTime
		{
			get;
			set;
		}
		public DateTime? StartTime
		{
			get;
			set;
		}
		public DateTime? FinishTime
		{
			get;
			set;
		}
		public string ResponseDepartment
		{
			get;
			set;
		}
		public string ResponsablePerson
		{
			get;
			set;
		}
		public string RPTel
		{
			get;
			set;
		}
		public string ResponsibleLeadership
		{
			get;
			set;
		}
		public string RLTel
		{
			get;
			set;
		}
		public string ActionPlans
		{
			get;
			set;
		}
		public string CurrentState
		{
			get;
			set;
		}
		public string PreState
		{
			get;
			set;
		}
		public int TheYear
		{
			get;
			set;
		}
		public string CreateUserName
		{
			get;
			set;
		}
		public KPIProgress TheKPIProgress
		{
			get;
			set;
		}
		public KPIProgressForUpdate TheKPIProgressForUpdate
		{
			get;
			set;
		}
		public KPIForUpdate TheKPIForUpdate
		{
			get;
			set;
		}
		public int GroupID
		{
			get;
			set;
		}
		public Group TheGroup
		{
			get;
			set;
		}
	}
}